import styled from 'styled-components';

export const CourseWrapper = styled.div`
  width: 100%;
  padding: 10px;
  .wrapper {
    &:hover {
      box-shadow: 5px 3px 8px #bbb;
    }
  }
`

export const CourseItem = styled.div`
  width: 25%;
  float: left;
  box-sizing: border-box;
  padding-left: 38px;
  margin-bottom: 20px;
  .wrapper {
    border: 1px solid #ccc;
    &:hover {
      box-shadow: 5px 3px 8px #bbb;
    }
  }
  img {
    width: 100%;
  }
  .content {
    height: 106px;
    padding: 0 10px;
  }
`

export const CourseInfo = styled.div`
  font-size: 14px;
  color: #000;
  line-height: 28px;
  text-align: left;
  span {
    float: right;
  }
`

export const PriceLine = styled.div`
  position: relative;
  .price {
    font-size: 20px;
    color: #FE5656;
  }
  button {
    position: absolute;
    right: 0px;
    z-index: 9;
  }
`